package com.speaktoitcookbook.bean;

import java.util.Date;

/**
 * 收藏实体
 * 
 * @author 杨强
 * 
 */
public class Collection {
    private String userID;
    private long cookbookID;
    private Date collectDate;
    private String collectInfo;

    public Collection() {
        this.userID = "";
        this.cookbookID = 0L;
        this.collectDate = new Date();
        this.collectInfo = "";
    }

    /**
     * 获取用户ID
     * 
     * @return 用户ID
     */
    public String getUserID() {
        return userID;
    }

    /**
     * 设置用户ID
     * 
     * @param userID
     *            用户ID
     */
    public void setUserID(String userID) {
        this.userID = userID;
    }

    /**
     * 获取菜谱ID
     * 
     * @return 菜谱ID
     */
    public long getCookbookID() {
        return cookbookID;
    }

    /**
     * 设置菜谱ID
     * 
     * @param cookbookID
     *            菜谱ID
     */
    public void setCookbookID(long cookbookID) {
        this.cookbookID = cookbookID;
    }

    /**
     * 获取收藏时间
     * 
     * @return 收藏时间
     */
    public Date getCollectDate() {
        return collectDate;
    }

    /**
     * 设置收藏时间
     * 
     * @param collectDate
     *            收藏时间
     */
    public void setCollectDate(Date collectDate) {
        this.collectDate = collectDate;
    }

    /**
     * 获取收藏说明
     * 
     * @return 收藏说明
     */
    public String getCollectInfo() {
        return collectInfo;
    }

    /**
     * 设置收藏说明
     * 
     * @param collectInfo
     *            收藏说明
     */
    public void setCollectInfo(String collectInfo) {
        this.collectInfo = collectInfo;
    }
}
